﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FreightSoft.Modules
{
    public static class UserCheckModule
    {
        public static bool ValidateUser(string username, string password)
        {
            if (username == null || password == null)
            {
                return false;
            }
            if (username.Equals("dadolk") && password.Equals("dadolk"))
                return true;
            if (username.Equals("chrnlk") && password.Equals("chrnlk"))
                return true;
            if (username.Equals("himrlk") && password.Equals("himrlk"))
                return true;
            if (username.Equals("lakmali") && password.Equals("lakmali"))
                return true;
            return false;
        }

        public static bool ValidateAdmin(string username, string password)
        {
            return false;
        }
    }
}